package legumes.client.evt.store;

import com.google.gwt.event.shared.GwtEvent;

public class StoreResearchByZipCodeChangedEvent extends GwtEvent<StoreResearchByZipCodeChangedEventHandler> {

	public static Type<StoreResearchByZipCodeChangedEventHandler> TYPE = new Type<StoreResearchByZipCodeChangedEventHandler>();
	
	private String zipCode;
	
	public StoreResearchByZipCodeChangedEvent(String zipCode_) {
		zipCode = zipCode_;
	}
	
	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<StoreResearchByZipCodeChangedEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(StoreResearchByZipCodeChangedEventHandler handler) {
		handler.onStoreResearchByZipCode(this);
	}

	public String getZipCode() {
		return zipCode;
	}


}
